package com.tzkyzj.tiremanager.dto;

import java.util.List;

public class TireVisualizationDTO {
    private String trailerPlateNumber;
    private List<TirePositionInfo> positions;

    // 无参构造函数
    public TireVisualizationDTO() {
    }

    // 全参构造函数
    public TireVisualizationDTO(String trailerPlateNumber, List<TirePositionInfo> positions) {
        this.trailerPlateNumber = trailerPlateNumber;
        this.positions = positions;
    }

    // Getter 和 Setter 方法
    public String getTrailerPlateNumber() {
        return trailerPlateNumber;
    }

    public void setTrailerPlateNumber(String trailerPlateNumber) {
        this.trailerPlateNumber = trailerPlateNumber;
    }

    public List<TirePositionInfo> getPositions() {
        return positions;
    }

    public void setPositions(List<TirePositionInfo> positions) {
        this.positions = positions;
    }

    // toString 方法
    @Override
    public String toString() {
        return "TireVisualizationDTO{" +
                "trailerPlateNumber='" + trailerPlateNumber + '\'' +
                ", positions=" + positions +
                '}';
    }
}
